import http from "./http"
let code = localStorage.getItem("deptCode")
//交接班班次数据: 参数-> createTime(默认当天时间(可传其他时间) 2024-08-15)
export const get_patientStatusTotal = (params) => http({
    method: "get",
    url: "/business/nwbApi/getPtnStatusTotal?deptCode=" + code,
    params
})

//交接班患者数据
export const get_patientList = (params) => http({
    method: "get",
    url: "/business/nwbApi/getPtnList?deptCode=" + code,
    params
})

//模版
export const get_template = () => http({
    method: "get",
    url: "/business/nwbApi/getWardReportTemplateList"
})

//添加病室报告数据
export const add_BsData = (data) => http({
    method: "post",
    url: "/business/nwbApi/addBsData",
    headers: { "Content-Type": "application/x-www-form-urlencoded" },
    data
})
